<script setup lang="ts">
const emit = defineEmits(["parseToHtml"])

let content = ref("")
let changeContent = () => {
  emit("parseToHtml", content.value)
}
</script>

<template>
  <div class="index-edit h-100p">
    <textarea class="w-100p h-100p bg-neutral-100 f-size-1 p-6 overflow-y" v-model="content"
      @input="changeContent"></textarea>
  </div>
</template>

